package com.e3.basdoc.bank.client;

import java.util.List;

import com.e3.basdoc.bank.model.BankModel;
import com.e3.basdoc.bank.model.BankQC;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface BankRPCServiceAsync {

	void newBank(BankModel bankModel, AsyncCallback<BankModel> callback);

	void modifyBank(BankModel bankModel, AsyncCallback<BankModel> callback);

	void getBankByCondition(BankQC bankQC,AsyncCallback<List<BankModel>> callback);

	void deleteBanks(List<BankModel> banks, AsyncCallback<Void> callback);

	void getBankChildren(BankModel bank, AsyncCallback<List<BankModel>> callback);

}
